]> dgit.raspbian.org Git - gnome-shell.git/commit
Revert "texture-cache: Use image-missing image when no other icon was loaded"
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 25 Mar 2020 15:40:47 +0000 (16:40 +0100)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Thu, 26 Mar 2020 18:36:02 +0000 (18:36 +0000)
commitfecc0c06acacabf11befd8d1e15c8328613d25d7
tree6b9973627063ed5cc1cb0d156c6ce3df9a1e37a6
parent512862f2d7599b43c0f7df9d5a39b64f9536b65f
Revert "texture-cache: Use image-missing image when no other icon was loaded"

The commit broke StIcon's :fallback-gicon property, as it relies on failure to load
an icon to determine that the fallback should be shown.

Luckily StIcon is the only user of st_texture_cache_load_gicon() (at least in
regular shell code), so we'll be able to implement the 'image-missing' fallback
there.

This reverts commit 3dd8ffc2bb1cefd603bcadabd8886dda3192dbd5.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1127
src/st/st-texture-cache.c